<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<link href="https://cdn.staticfile.org/element-plus/2.3.4/index.min.css" rel="stylesheet">
	<script src="js/vue.global.min.js"></script>
	<script src="js/index.full.min.js"></script>
	<script src="js/index.iife.min.js"></script>
	<script src="js/axios.min.js"></script>
	<script src="js/Number.js"></script>
	<script src="js/router.js"></script>
	<script src="js/vue-router.global.js"></script>
	<script src="js/vue3-sfc-loader.js"></script>
	<!-- https://dayjs.gitee.io/docs/zh-CN/display/format -->
	<script src="https://cdn.staticfile.org/dayjs/1.11.9/dayjs.min.js"></script>

	<title>cc-vue</title>
</head>

<body>
	<div id="app">
		<base-layout> </base-layout>
	</div>
</body>
<style>
	.footer {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		position: fixed;
		bottom: 0;
		left: 0;
		height: 70px;
		background-color: white;
		width: 100%;
	}
</style>
<script>
	const app = Vue.createApp()
	for ([name, comp] of Object.entries(ElementPlusIconsVue)) {
		// https://element-plus.org/zh-CN/component/icon.html#icon-collection
		app.component(name, comp);
	}
	//配置路由相关信息
	registerRouter(app);

	// let store = Vuex.createStore({
	// 	state() {
	// 		return {
	// 			apps: [],
	// 			num: 1
	// 		}
	// 	},
	// 	mutations: {
	// 		setApps(state, p) {
	// 			state.apps = p;
	// 		},
	// 		addNum(state, p) {
	// 			state.num += p;
	// 		}
	// 	}
	// });
	// app.use(store);
	//赋值
	//store.commit('addNum',2)
	app.use(ElementPlus);
	app.mount('#app');

</script>

</html>